package cn.xs.surveypark.service;

import cn.xs.surveypark.domain.User;

public interface UserService extends BaseService<User> {

	/**
	 * 判断邮箱是否存在
	 * @param email
	 * @return
	 */
	public boolean isRegisted(String email);
	
	/**
	 * 判断是否存在该用户
	 * @param email
	 * @param password
	 * @return
	 */
	public User validateLoginInfo(String email,String password);
}
